Qt.include("plurker.js");

var plurker = null;
var plurkmodel = null;
var plurkcb = null;

function setModel(model) {
  plurkmodel = model;
}

function setPlurkCB(cb) {
  plurkcb = cb;
}

function authenticated() {
  plurker.poll(plurkmodel, plurkcb);
}

function download() {
  plurker = new Plurker();
}
